package com.youlian.cloud.gateway.exception;

import com.netflix.zuul.exception.ZuulException;
import org.springframework.cloud.netflix.zuul.util.ZuulRuntimeException;

/**
 * 网关层面自定义的异常
 *
 * @author : liukx
 * @create : 2018/7/6 10:59
 * @email : liukx@elab-plus.com
 */
public class CloudZuulException extends ZuulRuntimeException {

    public CloudZuulException(int statusCode, String message) {
        super(new ZuulException(message, statusCode, null));
    }
}
